.cboard-home {
    height: 100%;
    $header-height: 64px;
    $left-width: 200px;
    >header {
        height: $header-height;
        background: linear-gradient(to left,#409EFF, #6A86AB);
        color: #ffffff;
        >ul {
            height: inherit;
            @extend .flex-justify-between;
            flex-wrap: nowrap;
            >li {
                height: inherit;
                line-height: $header-height;
            }
        }
    }
    .close-menu {
        .left-menu {
            width: 0px;
        }
        .left-menu-view {
            color: transparent;
        }
        .right-main {
            width: 100%;
        }
    }
    &-content {
        width: 100%;
        height: calc(100% - #{$header-height});
        @extend .flex-justify-between;
        flex-wrap: nowrap;
        .left-menu {
            width: $left-width;
            height: 100%;
            flex-grow: 0;
            flex-shrink: 0;
            position: relative;
            transition: width 0.8s;
            border-right: solid 1px #e6e6e6;
            .el-menu {
                border-right: none;
            }
            .collapse-btn {
                cursor: pointer;
                position: absolute;
                z-index: 111;
                top: 0px;
                bottom: 0px;
                right: -22px;
                display: inline-block;
                width: 22px;
                height: 30px;
                line-height: 30px;
                border-radius: 0 3px 3px 0;
                margin: auto 0;
                background-color: #ffffff;
                text-align: center;
                border: 1px solid #e6e6e6;
                border-left: none;
                i {
                    font-size: 18px;
                    font-weight: bold;
                    color: $theme-color;
                }
            }
        }
        .right-main {
            width: calc(100% - #{$left-width});
            flex: 1 1 auto;
            height: 100%;
            position: relative;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            flex-wrap: nowrap;
            &-tabs {
                height: 40px;
                flex-grow: 0;
                flex-shrink: 0;
                box-sizing: border-box;
                border-bottom: 1px solid #e6e6e6;
                box-shadow: 0px 5px 6px -3px #e6e6e6;
            }
            &-content {
                overflow: hidden;
                padding: 10px 24px;
                flex: 1 1 auto;
                box-shadow: 5px 0px 6px -3px #e6e6e6 inset;
                .el-scrollbar {
                    height: 100%;
                    .el-scrollbar__wrap {
                        overflow-x: hidden;
                        .el-scrollbar__view {
                            height: 100%;
                        }
                    }
                }
            }
        }
    }
}